// import Debounce from '@/utils/perf/debounce'
import { ref } from 'vue'

export default function useIndexSearch() {
  const searchValue = ref('')

  // const debounce = new Debounce()
  // watch(searchValue, (v) => {
  //   debounce.exec(() => {
  //     cb()
  //   })
  // })
  return searchValue
}
